package com.jaya.budan.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RelativeLayout;

import com.jaya.budan.R;
import com.jaya.budan.base.BaseActivity;
import com.jaya.budan.utils.ToolUtils;
import com.luozm.captcha.Captcha;

public class Register3_Activity extends BaseActivity implements View.OnClickListener {

    private Button btn_register3_next;
    private RelativeLayout back;
    private String access_token;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register3);
        Intent intent = getIntent();
        access_token = intent.getStringExtra("access_token");
        back = findViewById(R.id.back);
        btn_register3_next = findViewById(R.id.btn_register3_next);
        btn_register3_next.setOnClickListener(this);
        back.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.btn_register3_next:
                Intent intent = new Intent(Register3_Activity.this, Fill_Information_Activity.class);
                intent.putExtra("access_token", access_token);
                startActivity(intent);
                finish();
                break;
            case R.id.back:
                finish();
                break;
            default:
                break;
        }
    }
}
